public class TestIf01 {
    public static void main(String[]args){
        int i = (int)(Math.random()*6)+1;
        int j = (int)(Math.random()*6)+1;
        int k = (int)(Math.random()*6)+1;

        int count = i+j+k;
        System.out.println("第一次掷骰子："+i);
        System.out.println("第二次掷骰子："+j);
        System.out.println("第三次掷骰子："+k);

        if(count>15){
            System.out.println("手气不错！再来一把！");
        } else if (count>=10&&count<15) {
            System.out.println("手气一般！再来两把！");
        }else{
            System.out.println("手气不行！回家吃饭！");
        }
    }
}
